package com.yml.mybatis.gererator.config;

/**
 * @author YML
 * @since 2023-07-21 09:34
 */
public class ServiceConfig {

    /** service包路径 **/
    private String servicePackage = "service";

    /** impl包路径 **/
    private String implPackage = "service.impl";

    /** service接口格式 **/
    private String serviceFormat = "I%sService";

    /** service实现类格式 **/
    private String implFormat = "%sServiceImpl";

    public String getServicePackage() {
        return servicePackage;
    }

    public ServiceConfig setServicePackage(String servicePackage) {
        this.servicePackage = servicePackage;
        return this;
    }

    public String getImplPackage() {
        return implPackage;
    }

    public ServiceConfig setImplPackage(String implPackage) {
        this.implPackage = implPackage;
        return this;
    }

    public String getServiceFormat() {
        return serviceFormat;
    }

    public ServiceConfig setServiceFormat(String serviceFormat) {
        this.serviceFormat = serviceFormat;
        return this;
    }

    public String getImplFormat() {
        return implFormat;
    }

    public ServiceConfig setImplFormat(String implFormat) {
        this.implFormat = implFormat;
        return this;
    }
}
